import HttpRequest from './axios'
import config from '../config'

const { domain } = config
const baseUrl = process.env.VUE_APP_SERVER === 'mock' ? domain.url.mock : (process.env.NODE_ENV === 'development' ? domain.url.dev : domain.url.pro)
const axios = new HttpRequest(baseUrl, domain.prefix)
export default axios
